#pragma once
#include "../ProtocolBase.h"
#include <string>
#include "ikcp.h"

namespace protocol{
    class UDPClient: public TprotocolBaseClass
    {
    protected:
        uint32_t sendData(uint8_t* avBuf, uint32_t avBuflength) override;
    public:
        UDPClient(const std::string avHost, const uint16_t avPort):host(avHost), port(avPort){};
    };
}